export default {
  namespaced: true,
  state: {
    layout: 'sideMenu', // topMenu
    sidebar: {
      isCollapse: false,
      withoutAnimation: false,
    },
  },
  getters: {},
  mutations: {
    toggleSideBarCollapse(state) {
      state.sidebar.isCollapse = !state.sidebar.isCollapse;
    },
  },
  actions: {
    toggleSideBarCollapse({ commit }) {
      commit('toggleSideBarCollapse');
    },
  },
};
